package cn.iocoder.yudao.module.forward.http.register.model;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@Data
public class Authorize implements Serializable {
    private String scope;
    private String clientId;
    private String uname;
    private String pwd;

    public Map<String, Object> getParams() {
        Map<String, Object> params = new HashMap<>();
        params.put("scope", scope);
        params.put("clientId", clientId);
        params.put("uname", uname);
        params.put("pwd", pwd);
        return params;
    }
}
